package com.example.yk2021xm04.service;

import com.example.yk2021xm04.pojo.Task;
import com.example.yk2021xm04.pojo.Task;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.yk2021xm04.query.TaskQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LiYongle
 * @since 2021-12-02
 */
public interface ITaskService extends IService<Task> {
    void addTask(Task task);

    Map<String, Object> taskList(Integer userId,TaskQuery taskQuery);

    void deleteTask(Integer[] ids);

    void updateTask(Task task);

    List<Object> publishTimeByDay();

    List<Object> publishCountByDay();

    Integer TaskCountInDay();

    Integer TaskCountInYesterday();

}
